.image {
  width: 100%;
  height: 100%;
  position: relative;
  &-black {
    position: relative;
    width: 100%;
    height: 100%;
    user-select: none;
    &-img {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      img {
        transition: all 0.3s;
      }
    }
    &-footer {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0px;
      width: 200px;
      margin: auto;
    }
  }

  &-prew {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    &-fail {
      text-align: center;

      & > i {
        font-size: 50px;
        color: #838383;
      }
      & > p {
        font-size: 14px;
        margin-top: 4px;
      }
    }
    &-src {
      width: 100%;
      height: 100%;
      img {
        width: 100%;
        height: max-content;
      }
    }

    &-black {
      position: absolute;
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      margin: auto;
      width: max-content;
      height: 100%;
      width: 100%;
      z-index: 9;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      color: #d6d6d6;
      transition: all 0.2s;

      &-preview {
        font-size: 20px;
        margin-left: 4px;
      }

      &:hover {
        opacity: 1;
        background-color: #33333388;
      }
    }
  }
}
